package com.supreme.studyserver.service;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.supreme.studyserver.entity.Thing;
import com.supreme.studyserver.mapper.ThingMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MysqlSecondaryService {

    @Resource
    private ThingMapper thingMapper;

    public List<Thing> secondaryList() {
        return thingMapper.selectList(Wrappers.emptyWrapper());
    }
}
